package nc.ui.common;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;

import nc.jdbc.framework.processor.BaseProcessor;

public class ListProcessor extends BaseProcessor {

	
	public ListProcessor() {
	}

	@Override
	public Object processResultSet(ResultSet resultset) throws SQLException {
		ArrayList arraylist = new ArrayList();
		for (; resultset.next(); arraylist.add(resultset.getObject(1)))
			;
		return arraylist;
	}

}
